package xiaohu.day5.HJ57;

import java.math.BigInteger;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNextLine()) {
            String str1 = scanner.nextLine();
            String str2 = scanner.nextLine();
            BigInteger bigInteger1 = new BigInteger(str1);
            BigInteger bigInteger2 = new BigInteger(str2);
            System.out.println(bigInteger1.add(bigInteger2));
        }
    }
}
